body, button, input, select, textarea {
    font: 12px/1.5 tahoma,arial,"\5b8b\4f53";
    -ms-overflow-style: scrollbar;
}
@import './index-header.less';

//main
.main{
    font-family: "Microsoft YaHei",SimSun,'\5b8b\4f53',sans-serif;
    font-size: 12px;
    overflow: hidden;
    position: relative;
    .main-nav{
        height: 36px;
        line-height: 36px;
        em{
            display: inline-block;
            width: 200px;
            color: #fff;
            background-color: #FF0036;
            font-size: 16px;
            margin-left: 13px;
            font-weight: 700;

            i{
                margin-left: 14px;
                margin-right: 5px;
                font-weight: 700;
                font-size: 16px;
            }
        }
        //商品分类结束
        a{
            height: 35px;
            cursor: pointer;
            padding: 0 8px;
            font-weight: 500;
            font-size: 16px;
            color: #333;

            img{
                width: 100px;
                height: 30px;
                margin-top: -3px;
            }
        }
        a:hover{
            color: #FF0036;
        }
    }
    //banner 轮播图
    .banner{
        width: 7000px;
        position: relative;
        .banner-slide{
            width: 1349px;
            float: left;
            background-color: rgb(232, 232, 232);
            img{
                display: block;
                margin: auto;
            }
        }
        .slide2{
            background-color: #9e6053;
        }
        .slide3{
            background-color: #f77619;
        }
        .slide5{
            background-color: #7493ef;
        }
        //设置边上两张图片

        .slide1{
            position: relative;
            .frimg{
                position: absolute;
                right: 100px;
                top:20px;
                z-index: 100;

                a{
                    display: block;
                    width: 220px;
                    height: 235px;
                    background-color: #eee;
                    margin-bottom: 10px;

                    img{
                        width: 220px;
                        height: 235px;
                    }
                }
                a:hover{
                    background-color: #fff;
                }
                
            }
        }
    }
    //设置定位
    .swiper-container{
        position: relative;
    }
    .swiper-pagination{
        position: absolute;
        left: 45%;
        bottom: 5px;
        span{
            width: 25px;
            height: 5px;
            margin-left: 5px;
            border-radius: 0;
        }
        .swiper-pagination-bullet-active{
            background-color:rgba(255,255,255,.6);
        }

    } 
    //swiper结束

    // 左边导航
    .leftnav{
        position: absolute;
        top: 36px;
        left: 73px;
        z-index: 100;
        width: 200px;
        li{
            width: 200px;
            height: 31.2px;
            line-height: 31px;
            background-color:rgba(0,0,0,.5);
            color: #fff;
            font-size: 16px;
            // transition: all 0.2s linear;
           
            i{
                margin: 0 4px 0 14px;
                opacity: .5;
            }

            a{
                color: #fff;
                font-size: 14px;
            }
            .leftnav-subnav{
                background-color: #fff;
                position: absolute;
                left: 200px;
                top: 1px;
                width: 852px;
                color: #000;
                display: none;
                a{
                    color: #000;
                }
                .hot-word{
                    width: 583px;
                    height: 462px;
                    margin: 19px 30px;
                    overflow: hidden;
                    background-color: #fff;
                    float: left;

                    .hot-word-line{
                        padding: 4px 0;

                        .line-title{
                            float: left;
                            width: 75px;
                            color: #333;
                            margin-right: 15px;
                            position: relative;
                            font-size: 14px;
                            font-weight: 700;
                            line-height: 22px;
                            height: 22px;
    
    
                            i{
                                margin: 0;
                            }
                        }
                        //title
                        .line-body{
                            float: left;
                            width: 493px;
                            border-bottom: 1px dashed #ccc;
                            padding-bottom: 3px;
                            a{
                                height: 22px;
                                line-height: 22px;
                                font-size: 14px;
                                color: #666;
                                float: left;
                                margin-left: 13px;
                            }
                        }

                    }
                }
                //行
                 .line-right{
                        background-color: #FAFAFA;
                        float: left;
                        width: 209px;
                        height: 500px;
                    }
            }
            //二级导航
        }
        @link-color1:#e54077!important;//1 4
        @link-color2:#427def!important;//2 6 10 12
        @link-color3:#6347ed!important;//3 5
        @link-color4:#fa5c5c!important;//7
        @link-color5:#f7a831!important;//8 9 13
        @link-color6:#dd2727!important;//11 15
        @link-color7:#3bc7b0!important;//14 16
        
        li:hover{
            background-color: #fff; 
            .leftnav-subnav{
                display: block;
                
            }
        }
        li:nth-child(1):hover,
        li:nth-child(4):hover,
        .active1{
          color: @link-color1;
          a:hover{
                    color: @link-color1;
                }
        }
        li:nth-child(1):hover>i,
        li:nth-child(1):hover>a,
        li:nth-child(4):hover>i,
        li:nth-child(4):hover>a{
            color:@link-color1;
            font-weight: 800;
        }

        li:nth-child(2):hover,
        li:nth-child(6):hover,
        li:nth-child(10):hover,
        li:nth-child(12):hover,
        .active2{
          color: @link-color2;
          a:hover{
            color: @link-color2;
        }
        }
        li:nth-child(2):hover>i,
        li:nth-child(2):hover>a,
        li:nth-child(6):hover>i,
        li:nth-child(6):hover>a,
        li:nth-child(10):hover>i,
        li:nth-child(10):hover>a,
        li:nth-child(12):hover>i,
        li:nth-child(12):hover>a{
            color:@link-color2;
            font-weight: 800;
        }

        li:nth-child(3):hover,
        li:nth-child(5):hover,
        .active3{
          color: @link-color3;
          a:hover{
            color: @link-color3;
        }
        }
        li:nth-child(3):hover>i,
        li:nth-child(3):hover>a,
        li:nth-child(5):hover>i,
        li:nth-child(5):hover>a
        {
            color:@link-color3;
            font-weight: 800;
        }

        li:nth-child(7):hover,
        .active4{
          color: @link-color4;
          a:hover{
            color: @link-color4;
          } 
        }
        li:nth-child(7):hover>i,
        li:nth-child(7):hover>a{
            color:@link-color4;
            font-weight: 800;
        }

        li:nth-child(8):hover,
        li:nth-child(9):hover,
        li:nth-child(13):hover,
        .active5{
          color: @link-color5;
          a:hover{
            color: @link-color5;
        }
        }
        li:nth-child(8):hover>i,
        li:nth-child(8):hover>a,
        li:nth-child(9):hover>i,
        li:nth-child(9):hover>a,
        li:nth-child(13):hover>i,
        li:nth-child(13):hover>a{
            color:@link-color5;
            font-weight: 800;
        }

        li:nth-child(11):hover,
        li:nth-child(15):hover,
        .active6{
          color: @link-color6;
          a:hover{
            color: @link-color6;
          }
        }
        li:nth-child(11):hover>i,
        li:nth-child(11):hover>a,
        li:nth-child(15):hover>i,
        li:nth-child(15):hover>a{
            color:@link-color6;
            font-weight: 800;
        }
        li:nth-child(14):hover,
        li:nth-child(16):hover,
        .active7{
          color: @link-color7;
          a:hover{
            color: @link-color7;
          }
        }
        li:nth-child(14):hover>i,
        li:nth-child(14):hover>a,
        li:nth-child(16):hover>i,
        li:nth-child(16):hover>a{
            color:@link-color7;
            font-weight: 800;
        }
    }
    //左边导航结束

    .hotBrand{
        background-color: #f5f5f5;
        padding-top: 50px;
        .brandlist{
            li{
                width: 122px;
                height: 108px;
                margin-right: 1px;
                margin-bottom: 1px;
                float: left;
                position: relative;
                .brand-img{
                    margin: 0 auto;
                    display: block;
                    text-align: center;
                    line-height: 108px;
                    background-color: #fff;

                    img{
                        width: 82%;
                        height: 50px;
                    }
                }
                a{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    z-index: 1;
                    background-color: #333;
                    background-color: rgba(0,0,0,.8);
                    transition: all .3s ease-out;
                    opacity: 0;

                    .coupon{
                        color: #fff;
                        text-align: center;
                        line-height: 90px;
                        height: 60px;

                        span{
                            display: block;
                            padding: 0 5px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                    }
                    .enter{
                        text-align: center;
                        height: 32px;

                        span{
                            display: inline-block;
                            color: #fff;
                            width: 63px;
                            height: 18px;
                            font-size: 12px;
                            line-height: 15px;
                            background-color: #FF0036;
                            border-radius: 9px;
                        }
                    }
                }//a
                .refresh-btn{
                    opacity: 1;
                    width: 122px;
                    height: 108px;
                    display: block;
                    color: #999;
                    background-color: #fff;
                    position: absolute;
                    bottom: 1px;
                    right: 1px;
                    transition: all .3s ease-out;
                    i{
                        width: 40px;
                        height: 40px;
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        margin-left: -20px;
                        margin-top: -30px;
                        font-size: 30px;
                        text-align: center;
                        line-height: 38px;
                        border-radius: 20px;
                        transition: all 0.3s linear;
                    }
                    span{
                        display: block;
                        font-size: 14px;
                        line-height: 136px;
                        text-align: center;
                    }
                }
                a:hover{
                    opacity: .8;
                }
                .refresh-btn:hover{
                    color: #fff;
                    background-color: #FF0036;

                    i{
                        transform: rotate(360deg);
                    }
                }
            }//li
        }//ul
    }

    .tab1{
        padding-top: 20px;
        background-color: #f5f5f5;
        .tab1-img{
            display: inline-block;
            vertical-align: middle;
            font-size: 18px;
            color: #000;
            height: 28px;
            img{
                vertical-align: middle;
                width: 214px;
                height: 25px;
            }
        }
        .tab1-content{
            margin-top: 10px;
            height: 618px;

            .TC-left{
                float: left;
                position: relative;
                width: 235px;
                height: 618px;

                img{
                    display: block;
                    width: 100%;
                    height: 618px;
                    transition: opacity .3s ease-out;
                }//img
                .detali{
                    position: absolute;
                    vertical-align: middle;
                    bottom: 20%;
                    width: 218px;
                    height: 64px;
                    .left{
                        background: rgba(0,0,0,.9);
                        width: 70px;
                        height: 64px;
                        overflow: hidden;
                        color: #FFF;
                        text-align: center;
                        display: table-cell;
                        vertical-align: middle;
                        span{
                            display: inline-block;
                            vertical-align: middle;
                            line-height: 24px;
                            font-size: 18px;
                            width: 36px;
                            overflow: hidden;
                        }
                    }
                    .right{
                        left: 70px;
                        top: 0;
                        position: absolute;
                        background: rgba(0,0,0,.6);
                        overflow: hidden;
                        width: 128px;
                        height: 64px;
                        color: #FFF;
                        vertical-align: middle;
                        div{
                            margin-top: 8px;
                            margin-left: 14px;
                        }
                        span{
                            display: block;
                            line-height: 24px;
                            font-size: 18px;
                        }
                    }
                }
                .detali-wrap{
                    background-image: linear-gradient(-180deg,rgba(0,0,0,0) 4%,rgba(0,0,0,.36) 100%);
                    width: 100%;
                    height: 60px;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    img{
                        position: absolute;
                        bottom: 15px;
                        right: 15px;
                        width: 32px;
                        height: 32px;
                    }
                }
            }
            .TC-left:hover,.tab1m-detail:hover{
                img{
                    opacity: 0.7;
                }
            } 
            //第一块结束
            .TC-middle{
                width: 995px;
                height: 618px;
                float: left;
                overflow: hidden;
                .grid{
                    float: left;
                    display: block;
                    position: relative;
                    background-color: #fff;
                    border-bottom: 15px solid #f5f5f5;
                }
                .two-grid{
                    width: 484px;
                    height: 301px;
                    margin-left: 13px;
                }
                .floor-tabs{
                    width: 462px;
                    height: 282px;
                    margin: 10px;
                    box-shadow: 0 2px 8px 0 #eee;
                    ul{          
                        overflow: hidden;
                        background: #F1F1F1;
                        li{
                            background: #00B262;
                            float: left;
                            color: #000;
                            height: 57px;
                            width: 191px;
                            cursor: pointer;
                            line-height: 30px;
                            padding: 0 20px;
                            text-align: center;
                            vertical-align: middle;
                            p{
                                color: #fff;
                                margin-top: 16px;
                                font-size: 18px;
                                line-height: 20px;
                            }
                        }
                    }//ul
                    .tab1m-detail{
                        height: 225px;
                        width: 462px;
                        a{
                            height: 225px;
                            width: 462px;
                            display: block;

                            .t1-left{
                                position: absolute;
                                top: 153px;
                                height: 87px;
                                width: 291px;
                                background-repeat: no-repeat;
                                background-position: 0 center;
                                background-color: rgba(0,0,0,0);
                                background-image: url(../img/tab1-mbg.png);
                                z-index: 99;

                                .title-wrap{
                                    margin-left: 26px;
                                    margin-top: 8px;
                                    vertical-align: middle!important;
                                    img{
                                        width: 23px;
                                        height: 23px;
                                        margin-top: -10px;
                                    }
                                    span{
                                        color: #00B262;
                                        margin-left: 8px;
                                        font-size: 24px;
                                        font-weight: 700;
                                        letter-spacing: 1px;
                                    }
                                }
                                .title-wrap2{
                                    span{
                                        color: #000;
                                        margin-left: 26px;
                                        font-size: 20px;
                                        letter-spacing: 1px;
                                    }
                                }
                            }
                            .item-img{
                                float: right;
                                margin-top: 10px;
                                margin-right: 30px;
                                width: 200px;
                                height: 200px;
                            }

                        }
                    }

                    
                }
                .one-grid-price {
                    width: 235px;
                    height: 301px;
                    margin-left: 13px;
                    text-align: center;
                }
                >a{
                    .tc-item{
                        width: 234px;
                        height: 300px;
                        border: 1px solid #fff;

                        img{
                            display: block;
                            width: 185px;
                            height: 185px;
                            margin: 20px auto 0;
                        }
                        .goods-name{
                            width: 135px;
                            height: 40px;
                            font-size: 14px;
                            color: #333;
                            line-height: 20px;
                            overflow: hidden;
                            margin: 8px auto;
                        }
                        .goods-pirce{
                            font-size: 18px;
                            color: #FF0036;
                            line-height: 18px;
                            margin: 10px auto;
                        }
                    }
                }
                a:hover{
                    .tc-item{
                        border: 1px solid #FF0036;
                    }
                    img{
                        opacity: 0.7;
                    }
                    
                }
            }
        
        }//content
    }//tab1结束

    //tab2
    .tab2{
        .tab2-content{
            .TC-left{
                a{
                    width: 235px;
                    height: 301px;
                    float: left;
                    display: block;
                    border-bottom: 15px solid #f5f5f5;
                    position: relative;
                    background-color: #fff;
                    img{
                        width: 235px;
                        height: 301px;
                    }
                }//a
            }
            .TC-left:hover{
                img{
                    opacity: 1;
                }
            }
            .TC-left>a:hover{
                img{
                    opacity: 0.7;
                }
            }
            .hot-cake{
                width: 220px;
                font-size: 18px;
                margin: 20px 0 0 0;
                color: #000;
                text-align: left;
                padding-left: 20px;
            }
            .jingkou{
                width: 220px;
                font-size: 14px;
                text-align: left;
                padding-left: 20px;
            }
        }

    }

    //adv
    .m-adv{
        background-color: #f5f5f5;
        a{
            display: block;
            width: 100%;
            height: 100%;
            overflow: hidden;
            padding: 20px 0 0;
        }
    }

    //tab3
    .tab3{

        .tab3-title{
            font-size: 18px;
            color: #000;
            height: 28px;
            i{
                display: inline-block;
                background-color: #333;
                width: 5px;
                height: 18px;
                vertical-align: middle;
            }
            div{
                display: inline-block;
                margin: 0 10px;
            }
            span{
                font-size: 14px;
                margin-left: 10px;
            }
        }
    }

}
//main结束

//footer
.footer{
    font-family: "Microsoft YaHei",tahoma,arial,'Hiragino Sans GB','\5b8b\4f53',sans-serif;
    .f-end{
        height: 80px;
        line-height: 80px;
        background-color: #f5f5f5;
        text-align: center;
    }
    p{
        padding: 5px 0;
    }
    .f-con{
        min-height: 558px;
        border-top: 1px solid #D1D7DC;
        margin: 0;
        text-align: center;
        background: #fff;
        position: relative;
       
        .fc-ensure{
            width: 1190px;
            height: 100px;
            background: url(../img/footer.jpg) no-repeat;
            margin: 25px auto;
            padding: 0;
            a{
                float: left;
                display: block;
                width: 297px;
                height: 100px;
                // text-indent: -1000em;
            }
        }

        .fc-desc{
            width: 1190px;
            padding-top: 22px;
            height: 190px;
            margin: auto;
            border-top: 1px solid #ededed;
            background: url(../img/footer-tm.png) 45px bottom no-repeat;
            background-size: 68px 25px;
            dl{
                float: left;
                width: 186px;
                padding-left: 52px;
                dt{
                    color: #646464;
                    font-size: 16px;
                    font-weight: 700;
                    height: 30px;
                    line-height: 30px;
                    text-align: left;
                }
                dd{
                    text-align: left;
                    a{
                        width: 100px;
                        overflow: hidden;
                        text-align: left;
                        height: 20px;
                        line-height: 20px;
                        color: #8b8b8b;
                    }

                    .f-qrcode{
                        width: 105px;
                        height: 105px;
                        line-height: 105px;
                        text-align: center;
                        img{
                            width: 105px;
                        height: 105px;
                        }
                    }
                }
            }
        }

        .fc-copyright{
            border-top: 2px solid #FF0036;
            background: #000;
            text-align: left;
            min-height: 177px;

            .line1,.line2{
                width: 1190px;
                margin: auto;
                color: #fff;
                line-height: 25px;
                a{
                    margin-right: 3px;
                    color: #fff;
                }
            }

            .line3{
                line-height: 20px;
                background: #000;
                color: #a4a4a4;
                width: 1190px;
                margin: auto;
                a{
                    color: #a4a4a4;
                    margin-right: 65px;
                }
                b{
                    display: block;
                    color: #686868;
                    font-weight: 400;
                }
            }

        }//

        .server-num{
            color: #000;
            font-size: 11px;
            background: #000;
        }

    }
}

.side-nav{
    position: fixed;
    bottom: 50px;
    left: 20px;
    z-index: 9999;
    width: 35px;
    text-align: center;
    transform: scale(0);
    transition: all 0.2s linear;
    transform-origin: left bottom;
    overflow: hidden;
    a{
        position: relative;
        display: block;
        width: 36px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        color: #fff;
        text-decoration: none;
        cursor: pointer;
        margin-top: 1px;
        background-color: #666;
        background-color: rgba(0,0,0,.6);
        overflow: hidden;
        font-size: 12px;
        div{
            line-height: 12px;
            width: 24px;
            height: 28px;
            margin: 6px auto;
        }
    }
    a:nth-child(1){
        background-color: #f00;
        color: #fff;
    }
    .color-type-green:hover,.color1{
        background-color: #0f0;
    }
    .color-type-cyan:hover,.color3{
        background-color: #19C8A9;
    }
    .color-type-red:hover,.color2{
        background-color: #F15453;
    }
    a:last-child{
        background-color: #ccc;
        color: #fff;
    }
    
}
    